#define _CRT_SECURE_NO_WARNINGS 1

#include"Sort.h"
void TestSelect()
{
	int a[] = { 9,8,7,6,5,4,3,0,2,1 };
	Print(a, sizeof(a) / sizeof(a[0]));
	SelectSort(a, sizeof(a)/sizeof(a[0]));
	Print(a, sizeof(a) / sizeof(a[0]));
}
void HeapSortTest()
{
	int a[] = { 9,8,7,6,5,4,3,0,2,1 };
	Print(a, sizeof(a) / sizeof(a[0]));
	HeapSort(a, sizeof(a) / sizeof(a[0]));
	Print(a, sizeof(a) / sizeof(a[0]));
}
int main()
{
	TestSelect();
	HeapSortTest();
	return 0;
}